package day03;

public class day03LX {
    public static void main(String[] args) {

       /* System.out.println(5%2);
        System.out.println(8%2);
        System.out.println(2%8);
        int a=5,b=5;
        a++;
        ++b;
        System.out.println(a);
        System.out.println(b);
        int c=6,d=6;
        c--;
        --d;
        System.out.println(c);
        System.out.println(d);
        int e=6,r=6;
        int t=e++;
        int y=++r;
        System.out.println(t);
        System.out.println(y);
        System.out.println(e);
        System.out.println(r);
        int a1=4,a2=4;
        int b1=a1--;
        int b2=--a2;
        System.out.println(a1);
        System.out.println(a2);
        System.out.println(b1);
        System.out.println(b2);*/



       /* int a=1,b=2,c=3;
        boolean b1 = b>a;
        System.out.println(b1);
        System.out.println(c<b);
        System.out.println(a>=c);
        System.out.println(b<=c);
        System.out.println(b==a);
        System.out.println(a!=b);
        System.out.println(a+c>4);
        System.out.println(b%2==0);
        System.out.println(c++>3);
        System.out.println(--b<2);*/



        /*int a=3,b=5,c=8;
        boolean b1 =b>=a && b<c;
        System.out.println(b1);
        System.out.println(b<=c && b>a);
        System.out.println(a==b && c>b);
        System.out.println(b!=c&& a<b);
        System.out.println(b>=a  || b<c);
        System.out.println( b<=c || b>a);
        System.out.println(b!=c  || a<b);
        System.out.println(a==b  ||c>b);
        boolean b2=!(a<b);
        System.out.println(b2);
        System.out.println(!(a>b));*/
        int a=5,b=7;
        /*int max = a<b?b:a;
        System.out.println(max);*/
        if (a<b){
            System.out.println(b);
        }else{
            System.out.println(a);
        }
        int year =2023;
        if (year%4==0 && year%100!=0 || year%400==0){
            System.out.println(year+"是闰年");
        }else{
            System.out.println(year+"不是闰年");
        }





    }
}
